No that would just call server.start
For future reference you should say in what way it doesnt work. What debugging showsd you, what else you tried...
The arguably best way to do it is to make your own server class, where it runs a thread, it has events to say to the rest of the app something happened, and to take input and send it when it can..
theres quite a few threaded server side examples on the net, just make sure you create and maniuplate your server object within the thread.
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
Offline 1,735 posts
since Aug 2008