View Single Post
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 01-09-2021 , 13:02   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #564

SOURCE CODE
Can't send correct response for serverEx command to the receiver.. or it's possible only in OnSocketIncoming?

I tried to send command from my site, it works by OnChildSocketReceive but in this CB I can't response to my request using command buffer

P.S. I found that it works, but sometimes.. How send with same frame as callback?

Solved by: socket.SetOption(SocketLinger, 1);

P.S.S. I'm not understood why I must close socket handle after when every ReceiveCallback will be finished

Last edited by ZASTRELIS; 01-09-2021 at 17:11.
ZASTRELIS is offline