Click here to Skip to main content
15,895,922 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWinsock question? Pin
Vladimir Georgiev1-Mar-02 6:21
Vladimir Georgiev1-Mar-02 6:21 
AnswerRe: Winsock question? Pin
Nish Nishant1-Mar-02 6:26
sitebuilderNish Nishant1-Mar-02 6:26 
GeneralRe: Winsock question? Pin
Vladimir Georgiev1-Mar-02 6:29
Vladimir Georgiev1-Mar-02 6:29 
GeneralRe: Winsock question? Pin
Nish Nishant1-Mar-02 6:37
sitebuilderNish Nishant1-Mar-02 6:37 
GeneralRe: Winsock question? Pin
Jon Hulatt1-Mar-02 7:15
Jon Hulatt1-Mar-02 7:15 
GeneralRe: Winsock question? Pin
Vladimir Georgiev1-Mar-02 6:31
Vladimir Georgiev1-Mar-02 6:31 
GeneralRe: Winsock question? Pin
Vladimir Georgiev1-Mar-02 6:34
Vladimir Georgiev1-Mar-02 6:34 
GeneralRe: Winsock question? Pin
Nish Nishant1-Mar-02 6:43
sitebuilderNish Nishant1-Mar-02 6:43 
// this part is okay 
g_sListen.Create(0); 

//not okay. you cannot call this function on 
//an unconnected socket
g_sListen.GetSockName(s_name, port); 
					
//the port you got from the previous call is invalid
//your Bind() call will fail
g_sListen.Bind(port);

//this function fails too cause everything previous to 
//it has also failed
g_sListen.Listen();


Nish

It's seven o'clock
On the dot
I'm in my drop top
Cruisin' the streets - Oh yeah
I got a real pretty, pretty little thing that's waiting for me
GeneralRe: Winsock question? Pin
lucy1-Mar-02 8:08
lucy1-Mar-02 8:08 
Questionhow could i keep the value of a specific pointer? Pin
Gérald Mercet1-Mar-02 3:13
Gérald Mercet1-Mar-02 3:13 
GeneralNet Send Message Pin
1-Mar-02 0:21
suss1-Mar-02 0:21 
GeneralGuarding delete Pin
Joe Moldovan28-Feb-02 23:49
Joe Moldovan28-Feb-02 23:49 
GeneralRe: Guarding delete Pin
Joaquín M López Muñoz1-Mar-02 0:35
Joaquín M López Muñoz1-Mar-02 0:35 
GeneralRe: Guarding delete Pin
Jon Hulatt1-Mar-02 4:12
Jon Hulatt1-Mar-02 4:12 
GeneralRe: Guarding delete Pin
Le centriste1-Mar-02 5:02
Le centriste1-Mar-02 5:02 
GeneralRe: Guarding delete Pin
Joe Moldovan1-Mar-02 11:56
Joe Moldovan1-Mar-02 11:56 
GeneralRe: Guarding delete Pin
Mukkie1-Mar-02 12:06
Mukkie1-Mar-02 12:06 
GeneralTimers are as threads? (newbie) Pin
Joan M28-Feb-02 22:18
professionalJoan M28-Feb-02 22:18 
GeneralRe: Timers are as threads? (newbie) Pin
Joaquín M López Muñoz28-Feb-02 23:41
Joaquín M López Muñoz28-Feb-02 23:41 
GeneralRe: Timers are as threads? (newbie) Pin
Steen Krogsgaard1-Mar-02 3:34
Steen Krogsgaard1-Mar-02 3:34 
GeneralRe: Timers are as threads? (newbie) Pin
Joan M1-Mar-02 4:54
professionalJoan M1-Mar-02 4:54 
GeneralRe: Timers are as threads? (newbie) Pin
Bill Wilson1-Mar-02 6:09
Bill Wilson1-Mar-02 6:09 
GeneralRe: Timers are as threads? (newbie) Pin
Steen Krogsgaard3-Mar-02 21:30
Steen Krogsgaard3-Mar-02 21:30 
QuestionHow to access network shared resource from a service? Pin
28-Feb-02 21:21
suss28-Feb-02 21:21 
AnswerRe: How to access network shared resource from a service? Pin
Bill Wilson1-Mar-02 6:20
Bill Wilson1-Mar-02 6:20 

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.