04-16-2004
recv() error.
Thanks for your reply. I found that I did have an error in the recv call. I have corrected the call and it works just fine now. Thanks alot for your time.
10 More Discussions You Might Find Interesting
1. IP Networking
Hey,
I am learning to program a TCP server and managed to get it up and running (I am using Windows 98SE).
I can use the send function to send information to the client and I can use the recv function to ask the user to pass information through, but when I do so it only allows the client to... (1 Reply)
Discussion started by: KrazyGuyPaul
1 Replies
2. AIX
Hello guys.
I have a AIX running an ip of 128.2.1.85 255.255.255.0, Main office router is 128.2.1.2 .we just got an t1 line point to point for a remote office with to pcs.
My question.
I'm not able to ping those pcs one of them is using this ip 128.2.2.128 255.255.255.0 Remote router ip... (2 Replies)
Discussion started by: josramon
2 Replies
3. AIX
I am using ssh version
OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.6l
When i ssh to this server its working fine ,sftp is also
fine ,but when i use scp to copy files to it i am prompted for the
password
and on entering it throws up the following error
stty: tcgetattr: A... (1 Reply)
Discussion started by: arnab
1 Replies
4. AIX
Hello
I have a server that I want to install Aix 5.3, first I change on the sms to install device from the cdrom, when I boot the server on the display hangs up on the message E443 and nothing happens.
Who Can I resolve this.
Thanks in advance for your comments. (3 Replies)
Discussion started by: lo-lp-kl
3 Replies
5. AIX
Hello, I am an AIX newbie and I am having some difficulties installing 4.3. I need the installation to be 4.3, nothing newer, because that is a customer requirement. I did an initial install and just chose a default installation, but that has filled up the /usr to 100% and I'd just like to start... (13 Replies)
Discussion started by: subotai
13 Replies
6. AIX
Sorry for my english.
We have a IBM BLADES JS21. AIX 5.3 update to 6.
Our JS21 has 2 FC (fcs0 and fcs1).
We have one DS4072, one Disk system with 2 controllers and 2 FC by controllers.
This means, all AIX FC see all Disk systems controllers by 2 FC switchs. (one fc two roads)
FC AIX... (4 Replies)
Discussion started by: fjgonzalez
4 Replies
7. AIX
I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it.
Thanks in advance for your help!
# gcc -v
Reading specs from... (2 Replies)
Discussion started by: jhall
2 Replies
8. AIX
hi, i got this error, i have no idea where to start.. anyone please???
Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .c
f file is version 9
WARNING: local host name (BAANPRO) is not qualified; see cf/README: WHO AM I?
Running /var/spool/mqueue/o3CBj3np1138768... (3 Replies)
Discussion started by: fdeivis
3 Replies
9. AIX
I have some doubts
1. Count the number for fields in a file, being separated by "space"
2. Reverse the order of fields in a file
3. Show the date after 10 days from the current date. (DD-MM-YYYY)
4. Convert GMT to IST (User Gives GMT and IST must be displayed)
5. Delete Duplicate... (1 Reply)
Discussion started by: tsurendra
1 Replies
10. AIX
Hello,
I encounter some performance issues on my AIX 5.3 server running in a LPAR on a P520. How do I investigate performance issues in AIX. Is there any kind of procedure that takes me to the steps to investigate my server and find the sub systems that is causing the issues?
The performance... (1 Reply)
Discussion started by: petervg
1 Replies
LEARN ABOUT ULTRIX
adjtime
adjtime(2) System Calls Manual adjtime(2)
Name
adjtime - correct the time to allow synchronization of the system clock
Syntax
#include <sys/time.h>
adjtime(delta, olddelta)
struct timeval *delta;
struct timeval *olddelta;
Description
The system call changes the system time, as returned by moving it backward or forward by the number of microseconds corresponding to the
timeval delta.
The time is maintained by incrementing it with a machine-dependent tick every clock interrupt. If delta is negative, the clock is slowed
down by incrementing it in smaller ticks until the correction is made. If delta is positive, a larger tick is used. Thus, the time is
always a monotonically increasing function. A time correction from an earlier call to may not be finished when is called again. If old-
delta is nonzero, then the structure pointed to will contain, upon return, the number of microseconds still to be corrected from the ear-
lier call.
This call can be used in time servers that synchronize the clocks of computers in a local area network. Such time servers would slow down
the clocks of some machines and speed up the clocks of others to bring them to the average network time.
The call is restricted to the superuser.
Note
Time is incremented in 3906-microsecond (us) ticks on RISC and 10000 us ticks on VAX. When is called with a delta less than 1 second, time
is incremented according to the following table until the time is corrected:
-------------------------------------------
Default Fast Slow
System Increment Increment Increment
-------------------------------------------
RISC 3906 us 3921 us 3891 us
VAX 10000 us 10001 us 9999 us
-------------------------------------------
Return Values
A return value of 0 indicates that the call succeeded. A return value of -1 indicates that an error occurred, and in this case an error
code is stored in the global variable errno.
Diagnostics
The following error codes may be set in errno:
[EFAULT] An argument points outside the process's allocated address space.
[EPERM] The process's effective user ID is not that of the super-user.
See Also
date(1), gettimeofday(2)
adjtime(2)