Restored from previous forum. Originally posted by tranquil.
*) Does receivenetworkstring() exists in PB 3.40 ?
-> Due to network behavior you should code it yourselfe to be sure to receive your datas correctly. (Search the Tips & Tricks, Ive posted an example some months ago)
*) How to use streaming data in PB.
You can still done it due to a normal tcp/ip connection. But indeed, UDP will be better here if you want to stream audio or movie datas.
*) How to retrieve remote ip/port from connected client when in server mode.
I think I have posted an example here to. You should know the port the client has connected to. If you want I can post you the IP thingie here again if I'm at home.
*) How to Bind to a specific IP address using PB. running a server.
What do you mean with this? if you want you can use the Bind_() command to bind sockets.
*) Is Case 3 in networkserverevent() realy blocking the program or only
the current thread or event? or also the windows event?
For every networkevent I use WSAAsyncSelect_ to be shure not to be in blocked mode.
*) How to read from Structure's like SOCKADDR_IN when connection in established?
See the Tips & Tricks section. you will see it there. (Like the IP thingie, you can find the incomming client IP in this structure)
*) Will UDP be provided in the future? Multicast and/or Broadcast?
Fred? I'm not the only one who wants to get UDP support!

)
*) Does a networkserverevent() handles current clientid 1 at the time or should clientID
still be checked in Case 2 / 3 / 4
clientids are the sockets allocated by windows. every connection has its own socket (clientid) and could not be the same as another connection. If you mean this.
Thats pritty it...
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
System: Windows 2000 Server, 512 MB Ram, GeForce4200 TI 128 MB DDR, Hercules Theater 6.1 DTS Sound