java.net classes

Table 1.1 shows the java.net classes Sybase supports.

Table 11-1: Supported java.net classes

Class

Supported

Special circumstances

InetAddress

Yes

None

Socket

Yes

Does not support deprecated constructor “Socket (string host, int port, boolean stream)” when stream = false

URL

Yes

No file URL

HttpURLConnection

Yes

None

URLConnection

Yes

No file URL

URLDecoder

Yes

None

URLEncoder

Yes

None

DatagramPacket

No

DatagramSocket

No

MulticastSocket

No

ServerSocket

No

You can use any of the supported classes in java.net to write Adaptive Server client applications.