TCP sockets in the works.

BlitzMax Forums/BlitzMax Programming/TCP sockets in the works.

Kev(Posted 2007) [#1]
Hi Guys

*EDIT maybe the title of this thread should have read NNTP in the works :P well to late now

Ive been working on a cross platform TCP module based on NNTP, ie.. 'Network News Transfer Protocol' this is coming along well but ive still much to add.

now the question!
currently to talk to a newsgroup server i create a type.

Local client:TClient = New TClient


now to connect to the newsgroup a simple call to the method connect_newsgroup().

client.connect_newsgroup("news.yournews.com")


NNTP commands are sent to the server using a client.command() method.

this client side is working ie.. its possable to talk with the NNTP server and recive reply from it, to make my code into a blitz server would just require a little extra coding.

now what would you consider correct practice for a fast and easy to use game network? and most importantly would you pay for one?

kev


xlsior(Posted 2007) [#2]
client.connect_newsgroup("news.yournews.com")


Looks like your connecting to a newsserver there, not a newsgroup ?


Kev(Posted 2007) [#3]
xlsior, yes my mistake.

kev