This repository was archived by the owner on Mar 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathNet.cs
More file actions
52 lines (30 loc) · 1.76 KB
/
Net.cs
File metadata and controls
52 lines (30 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace NodeJS.NetModule {
[Imported]
[GlobalMethods]
[ModuleName("net")]
public static class Net {
public static Server CreateServer() { return null; }
public static Server CreateServer(ServerOptions options) { return null; }
public static Server CreateServer(Action<Socket> connectionListener) { return null; }
public static Server CreateServer(ServerOptions options, Action<Socket> connectionListener) { return null; }
public static Socket Connect(ConnectOptions options) { return null; }
public static Socket Connect(ConnectOptions options, Action<Socket> connectListener) { return null; }
public static Socket CreateConnection(ConnectOptions options) { return null; }
public static Socket CreateConnection(ConnectOptions options, Action<Socket> connectListener) { return null; }
public static Socket Connect(int port) { return null; }
public static Socket Connect(int port, string host) { return null; }
public static Socket Connect(int port, Action<Socket> connectListener) { return null; }
public static Socket Connect(int port, string host, Action<Socket> connectListener) { return null; }
public static Socket CreateConnection(int port) { return null; }
public static Socket CreateConnection(int port, string host) { return null; }
public static Socket CreateConnection(int port, Action<Socket> connectListener) { return null; }
public static Socket CreateConnection(int port, string host, Action<Socket> connectListener) { return null; }
public static bool IsIP(string input) { return false; }
public static bool IsIPv4(string input) { return false; }
public static bool IsIPv6(string input) { return false; }
}
}