Solved

UNIX NETWORK PROGRAMMING

Posted on 1999-01-06
7
228 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
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
No RSTP between switches 3 48
Guest Wi-Fi Marketing solution required 8 65
integration of incident management and linking to CMDB 1 20
VIRTUAL NETWORKING 3 35
Let’s list some of the technologies that enable smooth teleworking. 
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

867 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now