- 授权协议: GPL
- 开发语言:
- 操作系统: Windows
- 软件首页: http://www.rfc1149.net/devel/adasockets.html
- 官方下载: https://github.com/samueltardieu/adasockets
软件介绍
AdaSockets 是一个 Ada 95 的 socket 编程开发包,支持单播和多播套接字,使用面向对象结构来简化套接字操作。
示例代码:
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Text_IO; use Ada.Text_IO;
with Sockets.Stream_IO; use Sockets, Sockets.Stream_IO;
procedure Stream_Sender is
-- Usage: stream_sender remotehost remoteport
-- Example: stream_sender localhost 5000
Outgoing_Socket : Socket_FD;
Stream : aliased Socket_Stream_Type;
Line : String (1 .. 200);
Last : Natural;
begin
if Argument_Count /= 2 then
Raise_Exception
(Constraint_Error'Identity,
"Usage: " & Command_Name & " remotehost remoteport");
end if;
Socket (Outgoing_Socket, PF_INET, SOCK_STREAM);
Connect (Outgoing_Socket, Argument (1), Positive'Value (Argument (2)));
Initialize (Stream, Outgoing_Socket);
loop
Put ("Type a string> ");
Flush;
Get_Line (Line, Last);
String'Output (Stream'Access, Line (Line'First .. Last));
end loop;
exception
when End_Error => null;
end Stream_Sender;
C#入门经典
[美] Karli Watson、Christian Nagel / 齐立波、黄静 / 清华大学出版社 / 2008-12 / 118.00元
这是一本成就无数C#程序员的经典名著,厚而不“重”,可帮助您轻松掌握C#的各种编程知识,为您的职业生涯打下坚实的基础,《C#入门经典》自第1版出版以来,全球销量已经达数万册,在中国也有近8万册的销量,已经成为广大初级C#程序员首选的入门教程,也是目前国内市场上最畅销的C#专业店销书,曾两次被CSDN、《程序员》等机构和读者评选为“最受读者喜爱的十大技术开发类图书”!第4版面向C#2008和.NET......一起来看看 《C#入门经典》 这本书的介绍吧!
