Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[Message Deleted] Pin
xavierakx19-Aug-07 10:36
xavierakx19-Aug-07 10:36 
AnswerRe: Load time dynamic linking concept Pin
Waldermort19-Aug-07 10:46
Waldermort19-Aug-07 10:46 
GeneralRe: Load time dynamic linking concept Pin
xavierakx19-Aug-07 11:02
xavierakx19-Aug-07 11:02 
GeneralRe: Load time dynamic linking concept Pin
Waldermort19-Aug-07 11:14
Waldermort19-Aug-07 11:14 
GeneralRe: Load time dynamic linking concept Pin
Stephen Hewitt19-Aug-07 15:04
Stephen Hewitt19-Aug-07 15:04 
GeneralRe: Load time dynamic linking concept Pin
David Crow19-Aug-07 16:58
David Crow19-Aug-07 16:58 
GeneralRe: Load time dynamic linking concept Pin
xavierakx23-Aug-07 20:51
xavierakx23-Aug-07 20:51 
QuestionClient re-connect to Server Pin
Guruma19-Aug-07 1:12
Guruma19-Aug-07 1:12 
Hi,
Im working with this article:
http://www.codeproject.com/internet/client_server_socket.asp[^]

Can any1 help me how to re-connect Client?
Like after typing in QUIT, later type CONNECT and again connect to server w/o restarting Client app?

I tried to use shutdown(sock,2) and back to where I initialized connection:
myTcpSocket::initialize()
....

But i get WSAEISCONN and client closes itself :/

When i try closing socket with closesocket(sock) and when re-connecting back to myTcpSocket::initialize()
...
client stays alive but doesnt connect as i get WSANOTSOCKET.

I need help, i rebuild this example to be non-blocking, everything works great but i want it to disconenct and when i want to connect to server w/o the need to close client.

Huge thx in advance. It's a matter of life and death Frown | :(
AnswerRe: Client re-connect to Server Pin
Arun krishnan19-Aug-07 5:00
Arun krishnan19-Aug-07 5:00 
GeneralRe: Client re-connect to Server Pin
Guruma19-Aug-07 12:45
Guruma19-Aug-07 12:45 
QuestionHow to get Functions arguments from shell32.dll Pin
Naveed72719-Aug-07 1:04
Naveed72719-Aug-07 1:04 
AnswerRe: How to get Functions arguments from shell32.dll Pin
Waldermort19-Aug-07 4:00
Waldermort19-Aug-07 4:00 
AnswerRe: How to get Functions arguments from shell32.dll Pin
Michael Dunn19-Aug-07 8:07
sitebuilderMichael Dunn19-Aug-07 8:07 
QuestionWhich Hook for LB_ADDSTRING ? Pin
vikrant kpr18-Aug-07 11:51
vikrant kpr18-Aug-07 11:51 
AnswerRe: Which Hook for LB_ADDSTRING ? Pin
Alexander M.,19-Aug-07 8:13
Alexander M.,19-Aug-07 8:13 
QuestionRe: Which Hook for LB_ADDSTRING ? Pin
vikrant kpr20-Aug-07 5:28
vikrant kpr20-Aug-07 5:28 
QuestionRefresh screen on GDI+ [modified] Pin
Caio198518-Aug-07 10:00
Caio198518-Aug-07 10:00 
AnswerRe: Refresh screen on GDI+ Pin
Mark Salsbery18-Aug-07 14:31
Mark Salsbery18-Aug-07 14:31 
AnswerRe: Refresh screen on GDI+ Pin
Caio198518-Aug-07 19:27
Caio198518-Aug-07 19:27 
QuestionPDF to PDF without CID Type Font 2 Pin
mosturgent18-Aug-07 9:32
mosturgent18-Aug-07 9:32 
QuestionPlaying constant / repeated sound Pin
Iain Clarke, Warrior Programmer18-Aug-07 7:28
Iain Clarke, Warrior Programmer18-Aug-07 7:28 
AnswerRe: Playing constant / repeated sound Pin
Mark Salsbery18-Aug-07 7:32
Mark Salsbery18-Aug-07 7:32 
GeneralRe: Playing constant / repeated sound Pin
Iain Clarke, Warrior Programmer18-Aug-07 11:52
Iain Clarke, Warrior Programmer18-Aug-07 11:52 
QuestionRe: Playing constant / repeated sound Pin
Hamid_RT18-Aug-07 7:44
Hamid_RT18-Aug-07 7:44 
AnswerRe: Playing constant / repeated sound Pin
Iain Clarke, Warrior Programmer18-Aug-07 11:53
Iain Clarke, Warrior Programmer18-Aug-07 11:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.