tcp4u_connect()

new topic     » topic index » view thread      » older message » newer message

here is the dilemna:

  I need to be able to make multiple connections simultaneously.

  tcp4u allows for multiple sockets, but there is no timeout setting for 
tcp4u_connect(), and it appears to be 1 minute. Also, the routine 
doesn't return until it makes contact or times out, so potentially, my 
program will, and it does, stall for one minute while waiting to 
timeout.

  When I need to make anywhere from 20 to 40 connections, or more, at 
the same time, waiting for 1 minute for each socket before being able to 
do _anything_ else, isn't an option.

  Even the duration of the timeout isn't so much of a problem, it's the 
fact that the function doesn't return until the connection is finished.

  What can I do? I know that the timeout is not controlled in euTcp4u.


Chris

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu