HOw to start a connection?


 
Thread Tools Search this Thread
Special Forums IP Networking HOw to start a connection?
# 1  
Old 01-15-2007
HOw to start a connection?

Hi, I understand assignment qns are not allowed.

However, I need major help.. please teach me how to write a tcp/ip programme using C, wad are the websites that i can refer to?

wad are the codes required for it?

I have never done tcp/ip configurations before, and never learnt C before, please please help....
# 2  
Old 01-15-2007
Go to the tutorials in our FAQ section. There are two network programming tutorials in the Advanced Programming Tutorials paragraph.
# 3  
Old 01-15-2007
all right..thanks...

but can i post qns here again if i got any probs?
# 4  
Old 01-16-2007
Well, legal posts are legal. Looking over your posts to date, you probably should review the rules.
# 5  
Old 01-17-2007
I ve read the tutorials..

But it doesnt give sample codes to examples.

can anyone tell me what are the methods to use, just main method?

and can anyone tell me how to read to my own router's port? and how does it speak to other routers?

do I need to create a batch file for it?

btw I am using cygwin, coding in C.

these are vital and important to me... please help... thanks....
# 6  
Old 01-17-2007
You obviously didn't read the same tutorials Perderabo indicated. They have code samples.
# 7  
Old 01-17-2007
yea but its not what I needed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Splitting week start date and end date based on custom period start dates

Below are my custom period start and end dates based on a calender, these dates are placed in a file, for each period i need to split into three weeks for each period row, example is given below. Could you please help out to achieve solution through shell script.. File content: ... (2 Replies)
Discussion started by: nani2019
2 Replies

2. UNIX for Advanced & Expert Users

How keep running a program n an another computer via a connection ssh when the connection is closed?

Hi everybody, I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop. I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies

3. SCO

SLD: Failed to start the PMD Connection thread. (PM_THREAD_FAILED_TO_START).

Hello, I have a client with an 18 year old SCO Openserver 5.0.5 server. They can't find their installation media. They are experiencing an error at login: *LOGIN: ERROR- Failed to initialize policy manager. (IFOR_PM_FATAL) The status from the policy manager daemon (PMD -... (10 Replies)
Discussion started by: brhunt
10 Replies

4. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

5. Shell Programming and Scripting

How can I start a SH application when someone makes a ssh connection?

Hello everyone, I'm trying to control the access in my server. I did an application that can read audit logs and sys logs with the purpose to send me a report by email with important information about the user. It's a SH file. My problem is start the program when someone makes a ssh connection.... (4 Replies)
Discussion started by: journey
4 Replies

6. Linux

named service will not start, connection refused

Hi guys Our secondary named server has an issue when we start the named service: # service named restart Stopping named: rndc: connect failed: connection refused # service named status rndc: connect failed: connection... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

7. UNIX for Advanced & Expert Users

Connection reset by peer..closing connection

Hello I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS). What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies

8. Shell Programming and Scripting

Start program in background (or start crontab ahead of time)

Hey! I'm working on a script that will add a user, create some configfiles, and add a crontab for the user. The crontab looks like the following: @reboot /home/user/program config.conf & I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies

9. Linux

where to put an application if i want to start it on start up

hi i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots i mean whenever my system starts that application must also start thanks (3 Replies)
Discussion started by: shukla_chanchal
3 Replies

10. UNIX for Dummies Questions & Answers

How do I start a program when I start my Computer?

I'm running MAC OS X and I'm wondering how I start 'nixey programs (not normal apps) on startup? Things like the dnet client and hxd Hotline Server. Anyone know? (1 Reply)
Discussion started by: l008com
1 Replies
Login or Register to Ask a Question