|
-
Jun 25th, 2006, 05:30 AM
#1
Thread Starter
New Member
Winsock: Multiple forms with one one winsock?
Greetings everyone,
I'm just wondering, is it possible to have more than one form with controls using only one winsock placed at a main form? I tried actually doing this, but it didn't work properly.
I've downloaded Pino's chatroom guide, and added a button which opens a new form. It contains a button and a textbox. I wanted that when you press the button, whatever is written in the textbox is sent to the server, through winsock at the main form, and recieve it back and display it in a message box for example. When I tried to do this, the message box kept displaying the "previous" data sent instead of current which is in the textbox.
Can anyone please advise me on this matter? I'd really appreciate it!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|