No its only designed for TCP. And important features like automatic syncing variables etc got never finished/added (will come... sometimes.. in the future...). But it is working and can give you a start at Sock-commands.
No real test project, but should be easy to use. Here is an very basic example how to connect (and also how to send/receive messages), sorry its a bit confusing, since its only one of my test projects, no intended tutorial:
// --------------------------------- //
// Project: Server
// Start: Saturday, October 01, 2011
// IDE Version: 10.118
// Autor: Kanonet
ALLOWESCAPE FALSE
AUTOPAUSE FALSE
STDOUT " (1) Server oder (2) Client?\n"
GLOBAL sel%
sel = STDIN$()
IF sel=1
GLOBAL server AS TNetServer
server.Start(34111)
ELSEIF sel=2
GLOBAL client AS TNetClient
client.Join("",34111)
client.SendLogIn("CDK","a", TRUE)
LOCAL l%
REPEAT
l=client.LogInReply()
IF l=-4
client.SendLogIn("CDK","a")
ELSEIF l<0
END
ENDIF
SLEEP 40
UNTIL l=1
ELSE
STDOUT "Eingabe ungültig."
END
ENDIF
LOCAL key$
REPEAT
IF sel=1
server.Update()
// FOREACH p IN server.player[] // for each connected player = logged in client
// FOREACH m$ IN p.channel[chan_num%].msg$[]
// // now you can prozess each message in channel chan_num%
// NEXT
// p.ChannelSend(chan_num%, "test message from server") // send something to each player on channel 0
// NEXT
ELSE
client.Update()
// FOREACH m$ IN client.channel[chan_num%].msg$[]
// // now you can prozess all messages in channel chan_num%
// NEXT
// client.ChannelSend(chan_num%, "test message from client") // send something to the server
ENDIF
SLEEP 40
//
// // watch ESC key to exit program
// key$=INKEY$()
// IF key$=""
// BREAK
// ENDIF
UNTIL FALSE
END
FUNCTION log%: code%, msg$, ip$=""
IF ip$ THEN msg$ = msg$+" "+ip$
STDOUT PLATFORMINFO$("TIME")+" "+code+" "+msg$+"\n"
ENDFUNCTION
FUNCTION PlayerJoined%: num%
server.player[num%].ChannelOpen( 0 ) // automatically open channel 0 for each player that joined
ENDFUNCTION
SUB GLB_ON_QUIT:
IF sel=1
server.Quit()
ELSE
client.Quit()
ENDIF
ENDSUB
FUNCTION ServerTerminated:
SLEEP 10000
ENDFUNCTION