MarketSquare / MarketSquare/Rammbock

Add ability for server to check last message sender

Open
#88 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
64
Forks
48
PR merge metrics
No merged PRs in 30d

Description

As a server I want to know what peer has sent me a message. To do this all we have to do is
```
self._servers.get(name).get_peer_address()
```

It would be nice to have this data in message object so that we could check against some value
```
${msg} = Server receives message
Should be equal as strings ${msg.peer.ip} 127.0.0.1
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing server message handling and the existing self._servers.get(name).get_peer_address() entry point. Expose the sending peer on the received message so its IP can be compared with 127.0.0.1, and verify that the Robot Framework-style example can read msg.peer.ip.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.