各位大哥,怎样实现用函数发送消息,类似Net send ...,好象有个netmessage..,请指教。

解决方案 »

  1.   

    好简单,delphi里有个WinExec函数,它可以调用外部命令,例如你想调用net send ,WinExec('net send '+字符型变量(ip地址)+' hello',SW_SHOWNORMAL);这样就可以实现群发.
      

  2.   

    不是这样的,我想自己控制发送的内容,目标ip和自己的ip
      

  3.   

    to rodmanchen3() 
    这样可以,可是对方如何知道来了信息呢,
    http://expert.csdn.net/Expert/topic/1306/1306860.xml?temp=.7474634