Definitions

Sorry, no definitions found. Check out and contribute to the discussion of this word!

Etymologies

Sorry, no etymologies found.

Support

Help support Wordnik (and make this page ad-free) by adopting the word sockaddr_in.

Examples

  • C Syntax (Toggle Plain Text) int packet_receive_renew (struct client_info* info) int fd; struct sockaddr_ll sock, si_other; struct sockaddr_in si_me; fd_set rfds; struct timeval tv; time_t start, end; int bcast = 1; int ret = 0, try = 0; char buf [1500] = { '\0'}; uint8_t tmp [BUFLEN]

    DaniWeb IT Discussion Community xyzt 2010

  • Represents the socket descriptor returned by the socket () call. sd Represents the address structure (struct sockaddr_in or struct addr sockaddr_in6).

    Recently Uploaded Slideshows 2009

  • For an IPv4 socket, sctp_bindx () returns an array of type sockaddr_in.

    Recently Uploaded Slideshows 2009

  • Following is the syntax for the bind () socket API: ret = bind (int sd, struct sockaddr * addr, socklen_t addrlen); where: Represents the socket descriptor returned by the socket () call. sd addr Represents the address structure (struct sockaddr_in or struct sockaddr_in6).

    Recently Uploaded Slideshows 2009

  • The extra knowledge that we need is that to get a port, we need to cast it to a sockaddr_in and look at the port structure element.

    Sun Bloggers 2008

  • The extra knowledge that we need is that to get a port, we need to cast it to a sockaddr_in and look at the port structure element.

    Planet Sun 2008

  • #endif return 0; int packet_receive_renew (struct client_info* info) int fd; struct sockaddr_ll sock, si_other; struct sockaddr_in si_me; fd_set rfds; struct timeval tv; time_t start, end; int bcast = 1; int ret = 0, try = 0; char buf [1500] = { '\0'}; uint8_t tmp [BUFLEN]

    DaniWeb IT Discussion Community xyzt 2010

  • ; char PWD_buffer [_MAX_PATH]; struct sockaddr_in servaddr;

    Yahoo! Answers: Latest Questions 2010

  • / usr / bin / perl use Socket; socket $S, PF_INET, SOCK_STREAM, getprotobyname ( 'tcp'); my $addr = sockaddr_in (80, inet_aton ($ip)); connect $S, $addr or die

    Recently Uploaded Slideshows 2009

  • #pragma D option quiet syscall:: connect: entry {this - > sock = (struct sockaddr_in *) copyin (arg1, arg2); self - > port = this - > sock - > sin_port;} syscall:: connect: entry / self - > port = = $1 / {printf ( "\% 5d \% s\n", pid, execname);} syscall:: connect: entry {self - > port = 0;}

    Planet Sun 2008

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.