Skip to main content

Library for IP messenger .

how to use

# username, group name, port(default 2524)
ip = IpmsgServer("denzow", "denzow_group", 2721)

# start server
ip.start()


# send message
packet_no = ip.send_message("192.168.1.xx", "hello")

# check succeed?( should wait some seconds.)
ip.check_sended_message(packet_no)

# get host info
testusers_info = ip.get_hostinfo_by_nickname("testuser")
packet_no = ip.send_message(testusers_info.addr, "hello")

# send message use nickname without ip addr
packet_no = ip.send_message_by_nickname("", "hello")

# send message use fuzzy nickname without ip addr
packet_no = ip.send_message_by_fuzzy_nickname("", "hello")


# stop server
# wait stop thread and close socket.
ip.stop()

restrict

  • never use attach file.

  • nerver encrypt

TODO

  • send SECRET message

  • recv SECRET message

  • register hostinfo correctry other than via getlist

  • remove hostlist when rcv br_exit.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipymessenger-0.1.0.tar.gz (12.1 kB view details)

Uploaded Source

File details

Details for the file ipymessenger-0.1.0.tar.gz.

File metadata

  • Download URL: ipymessenger-0.1.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ipymessenger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a80045bdec218dc3a13b5cbf0d0e6e7195eb9f2c1928e94c50ea520264f1551
MD5 f2f8cb4a8463763ee72f4bdcb71a0fa4
BLAKE2b-256 f84c0ed6b8b88a04e4b86e6933a36f596f4ca545bce6df39f6d72aca4f0d482f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4.1

1 file

0.0.3.2

1 file

0.0.3.1

0.0.3

1 file

0.0.2.2

1 file

0.0.2

0.0.1.2

1 file

0.0.1.1

1 file

0.0.1

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page