I\'m writing a multiplayer game (obviously using UDP sockets. note: using winsock 2.2). 开发者_StackOverflow中文版The server code reads something like this:
[EDITED] This issue was originally described as my having trouble with Perl\'s Socket, but I have moved on now to where this is clearly a Flash security thing. However, I\'m still stuck.
I am testing out a Socket Server application in c and I am getting an error on the bind function with code 10038.I looked this up and MSDN says it means:
What\'s the most appropriate way to detect if a socket has been dropped or not?Or whether a packet did actually get sent?
i\'m working 开发者_运维问答with java.nio.channels.Selector and i\'d like to create a separate thread for each selectedKey that is ready for read/write/accept but i want to make sure that the same soc
Can we call send from one thread and recv fr开发者_如何学运维om another on the same socket? Can we call multiple sends parallely from different threads on the same socket?
I\'m using php (the sockets extension) to handle sending and receiving xml files. I\'d like to be able to fix the outgoing clients port number as the server has a set amount of incoming connections. I
I want to create a process runni开发者_C百科ng under linux that creates multiple threads, each thread writing their own data out to a receiving process over a UDP socket connection. For sizing, say I
I\'m building a non-visual component in .Net 2.0. This component uses an asynchronous socket (BeginReceive, EndReceive etc). Asynchronous c开发者_Go百科allbacks are called in the context of a worker t
the following is part of a socket class that im working on. what i am stuck with is in serverEndAccept i would like to pass/return a string indicating the accept has been successful. for these am i to