예제 #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);
예제 #2
0
 public static extern int sendpublicaddressrequest([In, Out] ref natpmp_t p);
예제 #3
0
 public static extern int closenatpmp([In, Out] ref natpmp_t p);
예제 #4
0
 public static extern int initnatpmp([In, Out] ref natpmp_t p);
예제 #5
0
 public static extern int readnatpmpresponseorretry([In, Out] ref natpmp_t p,
                                                    [In, Out] ref natpmpresp_t response);
예제 #6
0
 public static extern int getnatpmprequesttimeout([In, Out] ref natpmp_t p,
                                                  [In, Out] ref Win32.TimeValue timeout);