Project

General

Profile

Actions

Feature #2587

closed

helper function to finde the right interface for a remote IP-Address

Added by dexter over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/20/2017
Due date:
% Done:

100%

Spec Reference:

Description

In some cases (mgcp-gw) it is important to know the IP-Address of the interface through which a remote IP-Address is reachable. This can be done using the syscalls connect() and getsockname(). Implement a helper function in socket.c that takes a remote ip-address as input and outputs the coresponding local interface

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)