A little help about tcp/udp streams...

BlitzMax Forums/BlitzMax Beginners Area/A little help about tcp/udp streams...

beanage(Posted 2009) [#1]
Hey guys,

just did some testings on tcp/udp sockets, and am a little confused about what a socket/ binding a socket to a stream/ connecting remote sockets/ reading/writing from the streams finally works. Actually i'm not new to bmax, just need a little hint what commands should be executed in order to initialize a host, how to send/receive a text, what params finally mean what...

thanx,

BeAnAge


AltanilConard(Posted 2009) [#2]
You might find this useful: http://blitzmax.com/codearcs/codearcs.php?code=1974
You could either use that module or study the code, which is easy to understand. If you want to learn about sockets in general, there are alot of tutorial on the web. They might not be BlitMax specific but the concept stays the same, just search for them on google.


beanage(Posted 2009) [#3]
Conard, u are my new hero... my god, this is EXACTLY what i'd been searching for, finally!

Thanx, regarts'n handshakes :D,

BeAnAge