LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-26-2013, 07:31 AM   #1
ami ladani
LQ Newbie
 
Registered: Sep 2013
Posts: 1

Rep: Reputation: Disabled
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
 
Old 09-26-2013, 09:33 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,716

Rep: Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169
Quote:
Originally Posted by ami ladani View Post
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.
 
Old 09-27-2013, 02:35 PM   #3
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,902

Rep: Reputation: 164Reputation: 164
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.
 
Old 09-28-2013, 07:34 PM   #4
Skaperen
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
Blog Entries: 31

Rep: Reputation: 181Reputation: 181
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lab 5: Socket Programming and Pthreads Programming teesha Linux - Newbie 2 02-27-2012 12:25 AM
[SOLVED] socket programming chaitanya123 Programming 5 08-26-2010 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration