Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-26-2013, 07:31 AM
|
#1
|
LQ Newbie
Registered: Sep 2013
Posts: 1
Rep: 
|
socket programming
I need a sliding window protocol implementation for socket programming using c to run on linux.I want to connect 2 different PCs
|
|
|
09-26-2013, 09:33 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,716
|
Quote:
Originally Posted by ami ladani
I need a sliding window protocol implementation for socket programming using c to run on linux.I want to connect 2 different PCs
|
Ok...so what problem are you having? We will be glad to help you, so post whatever code you're having a problem with, details about your Linux system, and the error(s)/message(s) you get.
Otherwise, we are NOT going to write your code for you, or look things up for you. There are MANY easily-found socket programming examples Google can lead you to. Start there.
|
|
|
09-27-2013, 02:35 PM
|
#3
|
Senior Member
Registered: Apr 2009
Posts: 1,902
Rep: 
|
Normally, when we do socket programming, don't care of sliding window. The TCP stack will take care of it. If you want to learn sliding window, following link could help you.
http://www.omnisecu.com/tcpip/tcp-sliding-window.htm.
|
|
|
09-28-2013, 07:34 PM
|
#4
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,905
Rep: 
|
If you want to learn how to implement a TCP/IP stack, you might want to download Linux source code and see how it's done.
|
|
|
All times are GMT -5. The time now is 05:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|