Sponsored Content
Operating Systems Linux Do linux have a device file for ETHERNET CARD. Post 302304523 by septima.pars on Monday 6th of April 2009 04:41:35 PM
Old 04-06-2009
i'm confused as well...maybe he is talking about socket programming...?
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

ethernet card for Solaris

Hi, How can i check the speed of the Ethernet card that my Sun server has and also how can i change it to full Duplex if it is set to half duplex? What is the file that takes care of this? (3 Replies)
Discussion started by: i2admin
3 Replies

2. IP Networking

RedHat and Ethernet card no like each other

I have searched this forum for solution and have drawn a blank... so I come to you for help :) I an a Win XP user that has no problem getting on internet when I am on that OS (currently on it right now ;)). I installed red hat 9 and when I use that OS, I cannot get a connection. I ran the... (10 Replies)
Discussion started by: Minnesota Red
10 Replies

3. UNIX for Dummies Questions & Answers

Ethernet card problem...

I am an extreme novice trying to learn Linux. I have redhat 9 installed in a computer I built specifically to install and learn linux. I have an asus a7v8x-x motherboard with the realtek 10/100 mbps ethernet card. I also installed a Jaht adapter jn-1110r32c ethernet card. I cannot get the... (2 Replies)
Discussion started by: Tony Empire
2 Replies

4. AIX

Add PCI ethernet card?

Hi everyone, I recently inherited an IBM RS/6000 43P 150, and it appears that the on board ethernet is dead. Can I put in a PCI ethernet card and use that as the default ethernet connection (as opposed to the one on the motherboard)? If so, what type of card can I use and how does one configure... (2 Replies)
Discussion started by: Jwoollard
2 Replies

5. SCO

Issue with a ethernet card

Installed a replacement 3com pci card on an ibm PC 300 GL, running OpenServer 6.0 , brought up system, and recieved this message: Fsstat:/dev/boot mounted Mounted /stand filesystem System auditing is not enabled. Dlpid:Unable to open network adapter driver (/dev/mdi/r8e0) Dlpid:No such... (0 Replies)
Discussion started by: tazmss1
0 Replies

6. IP Networking

ethernet card

What command do I use to show mw the ethernet card, I have tried ipconfig -a (1 Reply)
Discussion started by: dhlopomo
1 Replies

7. AIX

Utilization of Ethernet Card

Hi, is it possible to find out network utilization of etherenet card in %? Regards, Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies

8. Solaris

Gigaswift ethernet card on reboot

I do have a server (SUNV240) with Solaris 9, it has a PCI gigaswift ethernet card for fiber with SC connector, everytime I reboot the server the card won't link up unless I unplug it and plug it back again, for remote operations this is a hassle since sometimes reboots are needed and this card... (3 Replies)
Discussion started by: xe2bss
3 Replies

9. Solaris

Problem with my Ethernet Card

Hi Gurus of Solaris. I have a problem yesterday when I was installing solaris in a x86 equipement I attached some log that I capture when I try to resolve the problem Any guru that can help please. Any command or procedure that I can run, please advice me Regards Andres (10 Replies)
Discussion started by: andresguillen
10 Replies

10. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies
SOCKET_LAST_ERROR(3)							 1						      SOCKET_LAST_ERROR(3)

socket_last_error - Returns the last error on the socket

SYNOPSIS
int socket_last_error ([resource $socket]) DESCRIPTION
If a socket resource is passed to this function, the last error which occurred on this particular socket is returned. If the socket resource is omitted, the error code of the last failed socket function is returned. The latter is particularly helpful for functions like socket_create(3) which don't return a socket on failure and socket_select(3) which can fail for reasons not directly tied to a particular socket. The error code is suitable to be fed to socket_strerror(3) which returns a string describing the given error code. PARAMETERS
o $socket - A valid socket resource created with socket_create(3). RETURN VALUES
This function returns a socket error code. EXAMPLES
Example #1 socket_last_error(3) example <?php $socket = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP); if ($socket === false) { $errorcode = socket_last_error(); $errormsg = socket_strerror($errorcode); die("Couldn't create socket: [$errorcode] $errormsg"); } ?> NOTES
Note socket_last_error(3) does not clear the error code, use socket_clear_error(3) for this purpose. PHP Documentation Group SOCKET_LAST_ERROR(3)
All times are GMT -4. The time now is 07:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy