I had a problem with the port also. The parameter passed in the Connect function to specify the port number is a WORD. When ever I passed the port number in a variable, it didn't like it. When I basicly hard coded the port number in the function call it worked fine.
There is some flexibility in the way I wrote this one. You could modify the class to support multiple port numbers. But if the port number is unknown until the call, I'm not sure its possible to get it to work.
The other solution is, if you know how to pass a WORD from a variable. That would fix the problem.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only