Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all,
My WinSock control (MSWINSOCK.ocx - Microsoft WinSock Control 6.0 (SP5)) is behaving not well, to put my issue kindly... I am having a problem of getting Events fired after my WinSock client control is connected to the server. As soon as my WinSock client fires Connect method, either Connect() or Error() Event should fire. This doesn't simply happen... It just hangs right there... THe snippet of my code is as follows: With sckSocket .Protocol = sckTCPProtocol .RemoteHost = m_Host .RemotePort = m_Port .Connect Debug.Print .State 'gives me 7 for Connected Debug.Print .RemoteHostIP 'gives me the right IP address of the server I want to connect to End With Does anyone have any idea why??? Thanks for your time. --- Tetsuya Oguma, Sydney, Australia |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Winsock.sendData | Excel Discussion (Misc queries) | |||
Searcing foran Excel event fired. | Excel Worksheet Functions | |||
call a function on control click event | Excel Discussion (Misc queries) | |||
Event hundler to control the Excel function arguments | Excel Worksheet Functions | |||
VBA- Calendar Control Click Event W Specific Select Case requirements | Excel Programming |