Solved

UNIX NETWORK PROGRAMMING

Posted on 1999-01-06
7
232 Views
Last Modified: 2013-12-23
This question is directed to davidwilliams! I have just viewed a solution to boosta's question about a daytime request service on a remote server. How can I execute this program! I am using Sun Operating system 5.5(Solaris 2.5). What are its typical arguments? How should I compile it and using what? Will gcc compile it?
0
Comment
Question by:galeboe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1582846
Hi there!
  Do you have the Question number for that question?  Was it the daytime client program I provided for him?  If so, you certainly can use gcc - you should just need to add -lnsl -lsocket on the compile line
  e.g.   gcc -o daytime daytime.c -lnsl -lsocket

  Then, if you just run the program it tells you the parameters it expects.  I think it was just the hostname to connect to, because the program uses an API call to retrieve the port number for the daytime service.
  Let me know how you get on!
0
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1582847
 Ok, I've just looked back through the questions and if the one you're referring to is
  http://www.experts-exchange.com/Q.10109566
then yes, you can call the program presented by passing in the hostname you wish to connect to, and then optionally you can specify a port as well, if you wish.
  Hope it all goes well for you ...
0
 
LVL 4

Accepted Solution

by:
davidmwilliams earned 40 total points
ID: 1582848
Do I get the points now?
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

Author Comment

by:galeboe
ID: 1582849
I had tried to give you points earlier but these machines could not budge! There you are and an extra 10 for your patience! Thanx a lot!

Galeboe:
<galeboem@hotmail.com>
0
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1582850
Why, thank you very much !
I hope the program goes well for you ! :)
0
 

Author Comment

by:galeboe
ID: 1582851
davidwilliams, did you actually get the 40 points I intended to give you? On my computer it shows that the question has beeen graded with only 4 points! Do you know what could be wrong?
0
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1582852
 I certainly did get the points - many thanks !
  The way Experts-Exchange works is that a question that has been answered can be 'bought' for 10% of the original points awarded.  So, I did get your 40 points, and now the question and answer can be viewed by others at a cost of 4 points to them.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question