|
-
Dec 14th, 2001, 12:17 AM
#1
Thread Starter
Lively Member
Winsock Problems
Im just bearly getting use to using VC++ and was woundering if any of you could help me. Im making a program. A simple one. that should connect to itself and send a message when it does. I have turned my winsock to a veriable (m_winsock1) and I Try to use the command m_winsock1.connect("127.0.0.1", 1234); And of course I get an error when comiling.
error C2664: 'Connect' : cannot convert parameter 1 from 'char [10]' to 'const struct tagVARIANT &'
Reason: cannot convert from 'char [10]' to 'const struct tagVARIANT'
No constructor could take the source type, or constructor overload resolution was ambiguous
Any hints?
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
|