AnsweredAssumed Answered

error = listen(listensock[0], 0);

Question asked by Swapnil Katre on Feb 7, 2013
Latest reply on Feb 8, 2013 by Swapnil Katre

hi, i have successfully created the server code where i created a socket on the port and put it on listen mode. If any connection comes on this port the a new child socket with same properties is created and connection is establish. but i don't want this socket to connect with child socket, i.e. it should connect to parent socket and should not create a child socket for it. as in my code i have such 13 port and socket, so the memory usages goes to the limit and the code stops working or after connecting +5 ports other ports cannot make any connection and no data txrx is possible in this ports. Please help me understand and solve this problem. Regards, Swapnil K.