Skip to main content

ip messenger library fro python

Project description

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.

Project details


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.0.3.tar.gz (11.3 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for ipymessenger-0.0.3.tar.gz
Algorithm Hash digest
SHA256 66bc14e4698f3593f892bf1a065ed37183dc52ad4b192fa82ea368908f7c89b7
MD5 41dc9b854468bf3b5572c913f32799f0
BLAKE2b-256 6268d23f24caeb9408084fc1d51b1a376c411020fea9e28378d1da8e7b5b330f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page