socket()
From: visu (shanker_bejjanki_at_persistent.co.in)
Date: 02/27/05
- Next message: Javier J: "Deny _WRITE_ access to a file"
- Previous message: S. Pidgorny
: "Re: Active Directory User Object certificate store to personal certificate store" - Next in thread: Roger Abell: "Re: socket()"
- Reply: Roger Abell: "Re: socket()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 27 Feb 2005 14:06:12 +0530
Hi
When we create socket for server , first we use SOCKET () then we will Bind
() to the port .
what is the use of this kind of mechanism .
If u compare this with file opening . why not fopen() used then it will
Bind() with file name ..?
we use only one statement to open file , But why we use two statement to
open socket connection..
(why can't we provide port , server structure in socket.) .
why they designed like that ...?
Please clear me..
Thanks
Shanker Bejjanki
- Next message: Javier J: "Deny _WRITE_ access to a file"
- Previous message: S. Pidgorny
: "Re: Active Directory User Object certificate store to personal certificate store" - Next in thread: Roger Abell: "Re: socket()"
- Reply: Roger Abell: "Re: socket()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|