Re: dial-up vs ethernet
- From: Mike <michael.h.williamson@xxxxxxxxx>
- Date: Sun, 16 Dec 2007 17:50:04 -0800 (PST)
On Dec 16, 1:50 pm, Lew Pitcher <lpitc...@xxxxxxxxxxxx> wrote:
Mike wrote:
On Dec 15, 11:51 pm, Grant Edwards <gra...@xxxxxxxx> wrote:
On 2007-12-16, Mike <michael.h.william...@xxxxxxxxx> wrote:
Will a generic web-browser work with dial-up internet serviceYes.
(over a modem)?
If it normally used socket() type system calls for networkIt would still use socket() type system calls.
communication, what would it use instead?
Thanks, that helps.
I am still curious, though.
Are the socket() calls not different? (PF_UNIX instead of PF_INET)
No. To access TCP/IP, the socket calls will always use PF_INET (or PF_INET6
for the up-and-coming TCP/IP v6). The OS (in this case, the TCP/IP stack
within the OS) decides how to manipulate TCP/IP so that it is transported over
PPP on a phone line or over Ethernet on 100BaseT.
OK, thanks. I have another question, though.
Am I correct in assuming that a program that establishes a PPP
connection
(using an external modem) is a user space program? If so, how does
this user-space
program inform the kernel that TCP/IP is available over the serial
port?
-Mike
.
- Follow-Ups:
- Re: dial-up vs ethernet
- From: Grant Edwards
- Re: dial-up vs ethernet
- References:
- dial-up vs ethernet
- From: Mike
- Re: dial-up vs ethernet
- From: Grant Edwards
- Re: dial-up vs ethernet
- From: Mike
- Re: dial-up vs ethernet
- From: Lew Pitcher
- dial-up vs ethernet
- Prev by Date: newbie: need simple help with strtok function
- Next by Date: Re: reading on serial port slow...
- Previous by thread: Re: dial-up vs ethernet
- Next by thread: Re: dial-up vs ethernet
- Index(es):
Relevant Pages
|
|