|
-
August 24th, 2006, 04:31 AM
#1
UDP Application
Which Methods i have to use in order to Create the UDP apllication in VC++.
plz give me the sugetions
ramanand
-
August 24th, 2006, 04:35 AM
#2
Re: UDP Application
Last edited by sreehari; August 25th, 2006 at 06:01 AM.
- Sreehari
"Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us."
" Everybody is sent to Earth on a purpose. I am so Lagging behind that i won't die." – Calvin
-
August 24th, 2006, 04:44 AM
#3
Re: UDP Application
--- Vague question.
Use MSDN, Search for CSocket.
Use Google, Search for Beej Guide.
A simple example
If you found my reply to be useful, please dont hesitate to rate it.
DO NOT kick the Axe if it doesnt fall on your foot.
Salman
-
August 25th, 2006, 05:40 AM
#4
Re: UDP Application
Vague question indeed but typical of the kind you get from Indian sub-continent outsourcing companies.
It make you think they've just been employed from university and told to get CodeGuru members to write their code for them.
And no I'm not bitter at all. Just correct!
Requests such as
"I need to write an new language compiler by next week, I have teach yourself c++ in 21 days, can someone give me example code?" will be ignored.
-
August 25th, 2006, 06:59 AM
#5
Re: UDP Application
Hi ,
Using socket programming ,
SOCKET socket ;
// for UDP
socket(AF_INET, SOCK_DGRAM, 0);
// For TCP
socket(AF_INET, SOCK_STREAM, 0);
and all the standared method like send & recv refer MSDN.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|