Exemple #1
0
 public static extern int sendnewportmappingrequest([In, Out] ref natpmp_t p,
                                                    [In] int protocol,
                                                    [In] UInt16 privateport,
                                                    [In] UInt16 publicport,
                                                    [In] UInt32 lifetime);
Exemple #2
0
 public static extern int sendpublicaddressrequest([In, Out] ref natpmp_t p);
Exemple #3
0
 public static extern int closenatpmp([In, Out] ref natpmp_t p);
Exemple #4
0
 public static extern int initnatpmp([In, Out] ref natpmp_t p);
Exemple #5
0
 public static extern int readnatpmpresponseorretry([In, Out] ref natpmp_t p,
                                                    [In, Out] ref natpmpresp_t response);
Exemple #6
0
 public static extern int getnatpmprequesttimeout([In, Out] ref natpmp_t p,
                                                  [In, Out] ref Win32.TimeValue timeout);