tcp/ip problem


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat tcp/ip problem
# 1  
Old 01-07-2009
tcp/ip problem

how the data from disk is loaded into memory and then it transfered to tcp/ip packet.
how i can find how many pages are loaded into memory by that process
what is the rate of context switch for that process.

Last edited by amar20; 01-08-2009 at 06:41 AM..
# 2  
Old 01-07-2009
Could you explain more what you would like to understand ?
# 3  
Old 01-07-2009
Look at the OSI Model.
# 4  
Old 01-07-2009
Quote:
Originally Posted by Lazydog
Look at the OSI Model.
I don't think the OSI model answers the question. The question is not about networking, the poster asked:

Quote:
how the data is supplied to tcp/ip packet from the disk.
how we can trace behavior of that process
This is not covered, in a way that answers the question, in the OSI model.
# 5  
Old 01-07-2009
Quote:
Originally Posted by amar20
how the data is supplied to tcp/ip packet from the disk.
how we can trace behavior of that process.
Quote:
Block special files or block devices correspond to devices through which the system moves data in the form of blocks. These device nodes often represent addressable devices such as hard disks, CD-ROM drives, or memory-regions.
First, I suggest you read this on Wikipedia:

Device file system - Wikipedia, the free encyclopedia

The underlying operating systems provides system level calls that permit I/O operations. Without getting into the relationship between the devices, the kernel and the shell, I will simplify by saying, that there are underlying system calls that provide programs access to the disk and other devices, like network devices, their buffers and data structures.

So, depending on your platform (operating system), you need to look at your kernel level system calls that are accessible to the programmer. These APIs are often C programs in most computer systems today.

Another hint: Take a look at this book, for example, Beginning Linux Programming and learn about system calls.
# 6  
Old 01-07-2009
I forgot to answer this one:

Quote:
Originally Posted by amar20
how we can trace behavior of that process.
Tracing depends on the operating system. For example, take a look at strace for linux systems:

strace - Wikipedia, the free encyclopedia
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Problem and question with TCP

Hi guys , i write this message for a doubt, a time ago i wrote a client/server program with TCP/IP in Linux. When i tested the program flooding the server with messages of 1024 bytes (Or 1025 bytes i dont remember exactly the number but was more that 1000 bytes) in certain point a message was... (5 Replies)
Discussion started by: Kovalevski
5 Replies

2. UNIX for Advanced & Expert Users

Bizzare TCP/IP problem

Hi all. I have a really really weird problem that I've been working on for days. The problem manifested as users cannot connect to our web servers via SSH when they're using our wireless network. Here's where it gets weird: - Clients from anywhere other than the wireless subnet can... (4 Replies)
Discussion started by: pileofrogs
4 Replies

3. Programming

Problem with tcp server

Hello @ all, I hope you can give me some advice :b: I will be following code for a tcp server and doStuff () function, the clients treated. From some point, I have several identical clients (zombies, I think), the same records in the database write. Has anyone an explanation? What can I... (1 Reply)
Discussion started by: yumos
1 Replies

4. Programming

epoll problem with tcp connect()

I am using epoll to manage my network connections. At the client side, the idea is to send the message upon detecting the completion of connect(). I've set up the socket to be nonblocking, then after calling of connect(), I add the socket into the epoll and wait on the event to be detected from... (0 Replies)
Discussion started by: tuesday420
0 Replies

5. Shell Programming and Scripting

tcp/ip and memory problem

how the data from disk is loaded into memory and then it supplied to tcp/ip packet. how i can trace the no of pages loaded in memory by that process and rate of context switch for that process. (1 Reply)
Discussion started by: amar20
1 Replies

6. AIX

TCP/IP socket binding problem

I have what appears to be a unique socket problem, although admittedly my tcp/ip programming experience is relatively limited. I have a AIX server process using TCP/IP berkely sockets, and a Windows (C#) process. The windows process takes input from a user and sends a message to the Unix... (1 Reply)
Discussion started by: adiaconou
1 Replies

7. Solaris

TCP Problem

I am running a Java Client on Solaris 9 which communicates with the Server using TCP/IP. The client transmits a FIN packet to server. The server sends a ACK, FIN enters LAST_ACK state and then waits for ACK from client. The client did not respond back leaving the server in LAST_ACK itself. Also... (0 Replies)
Discussion started by: diarun
0 Replies

8. IP Networking

WinXP and TCP/IP Problem

Hi Eveyone, I have A small problems maybe some one can help me. I'm running a small network at home with internet access. Two PC's have Win XP and one has Win98se. I have them all hook up on a SMC router. ALL windows firewall are off and and harddrive sharing is on. I am using DCHP network... (3 Replies)
Discussion started by: Peterh
3 Replies

9. IP Networking

IBM-AIX and TCP/IP Problem

I am having a problem and I feel it's network related. I have an RS6000 running AIX. I use a terminal emulation program that allows me to connect to my server via TCP/IP. When I try and make the connection, it takes F-O-R-E-V-E-R to get a login prompt on the screen. I also cannot ftp to... (3 Replies)
Discussion started by: Docboyeee
3 Replies

10. IP Networking

tcp problem with port

I am trying to connect via DBACCESS and Informix server to a server on a different computer. When I execute the connect command from dbaccess I get the following message, Exec format error cannot bind a name to the port. As far as I know the port is not being used by another client. How... (1 Reply)
Discussion started by: lopez
1 Replies
Login or Register to Ask a Question