New post

Find

Article
· Nov 25, 2024 3m read

第三十二章 UDP 客户端 服务器通信

第三十二章 UDP 客户端 服务器通信

本页介绍如何使用 UDP 在进程之间建立远程通信。

介绍

通过%Net.UDP来支持 UDP。此类提供以下方法: Send()数据包到指定的目的地和端口、 Recv()来自套接字的数据包以及Reply()发送器最后收到的数据包。

目标被标识为本地主机名或者 IPv4IPv6 主机地址。该端口可以是指定的端口号或动态端口分配。

建立UDP套接字

要使用 UDP,必须使用%New()方法来创建 UDP 套接字对象。然后,该对象实例用于发送、接收和回复数据包传输。

创建 UDP 套接字对象时,可以指定端口号和主机地址,如下例所示:

Discussion (0)1
Log in or sign up to continue
Announcement
· Nov 25, 2024

[Video] Adapt AI to your Existing Architecture

Hi Community,

Enjoy the new video on InterSystems Developers YouTube:

⏯ Adapt AI to your Existing Architecture @ Global Summit 2024

Learn about the importance of having a clear strategy and objectives before adopting AI. Rather than chasing "shiny objects," businesses should focus on outcomes, using trusted technologies and partners. Discuss the need for responsible AI, underscoring that ethical considerations, bias, and transparency should guide AI integration from the start. Additionally, with AI’s rapid evolution, staying current with data and aligning projects with company ethics are essential. The advice to businesses: get started now, assess your readiness, and prioritize collaboration with established partners.

🗣  Presenter: Merv Adrian, Founder and Principal, IT Market Strategy

Enjoy watching, and expect to see more videos! 👍

Discussion (0)1
Log in or sign up to continue
Digest
· Nov 25, 2024

Publicações Desenvolvedores InterSystems, Novembro 18 - 24, 2024, Resumo

Artigos
Anúncios
Perguntas
#InterSystems IRIS
Novembro 18 - 24, 2024Week at a GlanceInterSystems Developer Community
Digest
· Nov 25, 2024

InterSystems Developers Publications, Week November 18 - 24, 2024, Digest

Articles
Announcements
Questions
#InterSystems IRIS
#InterSystems IRIS for Health
#Caché
#Documentation
#Ensemble
Reading values from JSON
By Krishnaveni Kapu
#HealthShare
November 18 - 24, 2024Week at a GlanceInterSystems Developer Community
Question
· Nov 25, 2024

FOUT #5023: Fout in Java Gateway: JDBC Gateway getClob(0,2) errorRemote JDBC error: Bad value for type long :  Sneeuwheide

Good day,

Sinds 20 november 2024 We have getting an error in Production when execute query in Postgres .

FOUT #5023: Fout in Java Gateway: JDBC Gateway getClob(0,2) errorRemote JDBC error: Bad value for type long :  Sneeuwheide

Best Regards

Eduard

Discussion (0)1
Log in or sign up to continue