client.c分析和总结最新分析和总结.docxVIP

  • 2
  • 0
  • 约2.93千字
  • 约 4页
  • 2023-04-26 发布于上海
  • 举报
#include gtk/gtk.h #includestdio.h #includestdlib.h #includestring.h #includesys/types.h #includesys/socket.h #includenetinet/in.h #includeunistd.h #includearpa/inet.h #includepthread.h #include libintl.h #include locale.h gint sockfd,connfd; struct sockaddr_in server; struct sockaddr_in client; socklen_t addrlen; gchar buf[1024]; gchar get_buf[1024]; gboolean isconnected=FALSE; static GtkWidget *text; static GtkTextBuffer *buffer1; static GtkEntry *entry1; GtkBuilder *gtk_load_glade(gchar *filename) { GtkBuilder *gb; gb=gtk_builder_new(); if(!gtk_builder_add_from_file(gb,filename,NULL)) retur

文档评论(0)

1亿VIP精品文档

相关文档