Link to home
Start Free TrialLog in
Avatar of Chrono
Chrono

asked on

Need help with Winsock

OK...here's a tough one...
I'm trying to prgram a Front-End for a game called Federation.  You can learn about this game at www.ibgames.net.  I'm trying to make a Front-End like FedTerm 32, the standard program that people use.  You can downlaod that program from www.ibgames.net.
WELL...I'm trying to connect to their server "federation.ibgames.net" port 23.  I have done that by using the Winsock control.  The thing that I can't figure out is how to get it to show up in a text box.  I have don't know how to do this, but I'm sure it has something to do with the "DataArrival" event.  And the "GetData" method of the Winsock control.
Please help me, becaseu I'm clueless.  Thanks a lot, and enjoy the 200 points if you can figure this out.
Thanks again,
~Chrono
ASKER CERTIFIED SOLUTION
Avatar of Dark_Angel
Dark_Angel

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Chrono
Chrono

ASKER

OK...I tried that, but it keeps giving me a "Expected: =" error on the lines that say "Winsock1.GetData (RecievedData,_ VBString)" and "Private Sub Winsock1_DataArrival(ByVal_ bytesTotal As Long)"  I think it's talking about the underscore.  Am I supposed to replace that with something?  Otherwise, wverything else seems fine... please help me out with this...

I put the underscore in because it was on multiple line's and it go's on to next line to get the code, just remove the udnerscore alltogether and that example should work.
Avatar of Chrono

ASKER

Whenever I get rid of the underscore, it immediately says that it expects a "=".  Any more ideas?
remove the '()' aswell where the get data is.  sorry made mistake
Avatar of Chrono

ASKER

Well...that did SOMETHING...it gave me a "ÿýÿý"  I guess I can figure out the rest by myself.  Thanks a lot for your help.  This gave me a HUGE lead on what to do next....
Thanks again,
~Chrono