Click here to Skip to main content
15,851,090 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi

I want to write a program for sockets in c/c++ for IPv4 protocol.
but I'm not able understand how to start and where to start.I have searched google a lot example or help given their,is not useful for me..

If anyone of you have any knowledge or any help.
Please help me regarding above problem...

Thanks and Regards
Nidhi

[edit date="30/12/2010"]

Windows xp... I need to convert my TCP/IP socket to IPv4 socket..

Hi this means that the code which i used in my lan can be used in between a lan and a wan?
[/edit]
Posted
Updated 29-Dec-10 23:14pm
v3
Comments
voloda2 29-Dec-10 3:47am    
Which operating system?

Please refer to the link in my previous answer. Go to that web page, read the article and use the code samples provided; they give everything you need to resolve your issue.
 
Share this answer
 
Comments
tanu misra 30-Dec-10 5:00am    
k..
Thanks for your Help.. :)
A Google search for "socket program" will reveal many samples including this one[^]. But note that IPv4 is not a protocol, merely a standard format for IP addresses. Socket programming is not dependent on IPv4 or IPv6, the same basic rules apply in either case.
 
Share this answer
 
v2
Comments
tanu misra 30-Dec-10 2:02am    
Hi this means that the code which i used in my lan can be used in between a lan and a wan?
 
Share this answer
 
Comments
tanu misra 29-Dec-10 4:16am    
Windows xp...
I need to convert my TCP/IP socket to IPv4 socket..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900