You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got my copy of crossroads-net from github (cloned) so it is the latest version.
I'm using libxs 1.2.0; .NET 4.5; Win7 x64 (but all libs are 32bit)
My problem is:
sock.Send(data, data.Length, SocketFlags.None);
What should happen (and does in C/C++):
This expression should block current thread and wait until data is received by another socket.
If server (socket receiving data) is not running, it prints 'AB' and exits.
If I add something like 'wait key' and then run server, data is being received.
It would be nice to have blocking version of Socket.Send.
Thank you.
And I apologize for my English.
The text was updated successfully, but these errors were encountered:
After 4 months I barely remember what I meant but I remember that different language bindings worked in a different ways (c++ version was blocking, java not).
A successful invocation of xs_send() does not indicate that the message has been transmitted to the network,
only that it has been queued on the socket and Crossroads have assumed responsibility for the message.
I've got my copy of crossroads-net from github (cloned) so it is the latest version.
I'm using libxs 1.2.0; .NET 4.5; Win7 x64 (but all libs are 32bit)
My problem is:
What should happen (and does in C/C++):
This expression should block current thread and wait until data is received by another socket.
What is really happening:
If server (socket receiving data) is not running, it prints 'AB' and exits.
If I add something like 'wait key' and then run server, data is being received.
It would be nice to have blocking version of Socket.Send.
Thank you.
And I apologize for my English.
The text was updated successfully, but these errors were encountered: