Click here to Skip to main content
15,914,406 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIs there any free Modem Simulator which can tell Call States or some other way to debug Modem application with Modem Pin
Kapoor Vikrant26-Oct-04 4:28
Kapoor Vikrant26-Oct-04 4:28 
GeneralRe: Is there any free Modem Simulator which can tell Call States or some other way to debug Modem application with Modem Pin
Blake Miller26-Oct-04 6:14
Blake Miller26-Oct-04 6:14 
QuestionHow to dump information into text file which I got from _CrtDumpMemoryLeaks() ? Pin
Amarelia26-Oct-04 4:24
Amarelia26-Oct-04 4:24 
GeneralBuilding Wizards Pin
shevi202726-Oct-04 2:57
shevi202726-Oct-04 2:57 
GeneralRe: Building Wizards Pin
Blake Miller26-Oct-04 6:17
Blake Miller26-Oct-04 6:17 
GeneralFail to bind the socket Pin
amitranjanmishra26-Oct-04 1:23
amitranjanmishra26-Oct-04 1:23 
GeneralRe: Fail to bind the socket Pin
dharani26-Oct-04 21:20
dharani26-Oct-04 21:20 
GeneralRe: Fail to bind the socket Pin
amitranjanmishra27-Oct-04 3:21
amitranjanmishra27-Oct-04 3:21 
Rose | [Rose] Thnx fr guiding me Rose | [Rose] . This being my fst attempt in socket prg.

Yeah i cud move ahead all bcoz of u , but caught again midway.
In my server program when i use recv() it gives the failed to bind and failed to listen errors. When i m trying to print the acceptance after the accept function it shows the connection. That <client ip="" address="" is="" connected="">

On other side When i use recv fn in Client application some garbage is printed in . I use it like

<br />
{<br />
<br />
		char buff[512];<br />
// Connection with server<br />
	servAddrSrvr.sin_addr.s_addr=inet_addr("192.168.0.20");<br />
	servAddrSrvr.sin_family=AF_INET;<br />
	servAddrSrvr.sin_port=htons(80);<br />
	connect(conn,(struct sockaddr*)&servAddrSrvr,sizeof(servAddrSrvr));<br />
	recv(conn,buff,sizeof(buff),0);<br />
	printf("%s\n",buff);<br />
}<br />

Can u say me where i went wrong.

amit mishra
GeneralRe: Fail to bind the socket Pin
markkuk27-Oct-04 10:08
markkuk27-Oct-04 10:08 
GeneralOpen the binary file and convert the hexadecimal number Pin
Alex Wong 1926-Oct-04 0:35
Alex Wong 1926-Oct-04 0:35 
GeneralRe: Open the binary file and convert the hexadecimal number Pin
David Crow26-Oct-04 4:37
David Crow26-Oct-04 4:37 
Generalfolder size limitation Pin
Raphael Kindt25-Oct-04 23:52
Raphael Kindt25-Oct-04 23:52 
GeneralRe: folder size limitation Pin
vikramlinux26-Oct-04 2:23
vikramlinux26-Oct-04 2:23 
GeneralRe: folder size limitation Pin
David Crow26-Oct-04 8:59
David Crow26-Oct-04 8:59 
QuestionHow to Set the controls to be infront of an Image Pin
wicked_guy25-Oct-04 23:47
wicked_guy25-Oct-04 23:47 
AnswerRe: How to Set the controls to be infront of an Image Pin
Robert A. T. Káldy26-Oct-04 0:32
Robert A. T. Káldy26-Oct-04 0:32 
Questionhow to use this : IAMMultiMediaStream::OpenMoniker Pin
blackbeetle25-Oct-04 23:39
blackbeetle25-Oct-04 23:39 
GeneralDialog with different controls created at runtime Pin
SVPG25-Oct-04 23:30
SVPG25-Oct-04 23:30 
GeneralRe: Dialog with different controls created at runtime Pin
Robert A. T. Káldy26-Oct-04 0:23
Robert A. T. Káldy26-Oct-04 0:23 
GeneralRe: Dialog with different controls created at runtime Pin
BlackDice26-Oct-04 3:42
BlackDice26-Oct-04 3:42 
Questionhow to use ::* Pin
Anonymous25-Oct-04 23:15
Anonymous25-Oct-04 23:15 
AnswerRe: how to use ::* Pin
Robert A. T. Káldy26-Oct-04 0:15
Robert A. T. Káldy26-Oct-04 0:15 
GeneralRe: how to use ::* Pin
Anonymous26-Oct-04 20:34
Anonymous26-Oct-04 20:34 
GeneralInputting Keyboard events into a dialog box Pin
Member 134303625-Oct-04 22:27
Member 134303625-Oct-04 22:27 
GeneralRe: Inputting Keyboard events into a dialog box Pin
P_JAYAPRAKASH25-Oct-04 22:41
P_JAYAPRAKASH25-Oct-04 22:41 

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.