The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to configure linux to receive snmp traps from a windows server? iamtulipin Linux 2 02-19-2008 11:28 PM
Can we send email with C program on Unix? whatisthis High Level Programming 3 07-07-2006 11:18 AM
send mail in sh program whatisthis UNIX for Dummies Questions & Answers 1 04-13-2006 01:20 PM
how to receive messages in mobile from our server? abhijeetkul Shell Programming and Scripting 2 02-09-2006 04:51 AM
Send email to another server on AIX owls UNIX for Dummies Questions & Answers 1 09-17-2001 12:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-10-2005
Rajeshsu Rajeshsu is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 11
Angry Tcp Ip Send Receive Server Program

Requirements:
A server program should read a file and send the message to the client . if the file is not there, then switch to the receive part of the same program and receive any messages from the socket. If no messages to receive then switch to send part of the program to send any messages. This should work continuously.

How to do this? Steps to do it will be enough.
  #2 (permalink)  
Old 10-24-2005
SwetaShah SwetaShah is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 4
u should use the select() if using c (coz i had worked with it) .. non blocking select will ensure continual listening for incoming requests... as and when req come in.. put them in a data structure and then use ur thread to read that file.. just call those functions in the order required by u... i hope this helps u... and do lemme know if i have gone wrong somewhere...(for the others!)
  #3 (permalink)  
Old 11-02-2005
yeniaoer yeniaoer is offline
Registered User
  
 

Join Date: Aug 2004
Posts: 5
:)

ues Xscan get the hole or others tool.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0